<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <th:block th:include="include :: header('拦截新增')"/>
</head>
<body>
<form class="layui-form">
  <div class="mainBox">
    <div class="main-container">
      <div class="main-container">
        <div class="layui-form-item">
          <label class="layui-form-label">拦截名称</label>
          <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="interName" name="interName"
                   placeholder="拦截名称" type="text">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">拦截URL</label>
          <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="url" placeholder="拦截URL" type="text">
          </div>
        </div>

        <div class="layui-form-item">
          <label class="layui-form-label">类型</label>
          <div class="layui-input-block">
            <select id="type" name="type" th:with="type=${@dict.getType('sys_inter_url_type')}">
              <option th:each="dict : ${type}" th:text="${dict.dictLabel}"
                      th:value="${dict.dictValue}"></option>
            </select>
          </div>
        </div>

      </div>
    </div>
  </div>
  <div class="bottom">
    <div class="button-container">
      <button class="layui-btn layui-btn-normal layui-btn-sm" lay-filter="sysInterUrl-save" lay-submit=""
              type="submit">
        <i class="layui-icon layui-icon-ok"></i>
        提交
      </button>

    </div>
  </div>
</form>
<th:block th:include="include :: footer"/>
<script>

</script>
</body>
</html>